import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { AppComponent } from './app.component';
import { OnChangesModule } from './1.onChanges/onchanges.module';
import { OnInitModule } from './2.onInit/onInit.module';
import { DoCheckModule } from './3.doCheck/doCheck.module';
import { AfterContentsModule } from './4.afterContents/afterContents.module';
import { AfterViewsModule } from './5.afterViews/afterViews.module';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    [BrowserModule,
    FormsModule,
    HttpModule,],

    OnChangesModule,
    OnInitModule,
    DoCheckModule,
    AfterContentsModule,
    AfterViewsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
